package define

// ErrorCode 错误码定义
type ErrorCode int16

// common
const (
	Success ErrorCode = iota
	ErrorUnknown
	ErrorTimeOut
	ErrorFailedOPDB
)

// transfer
const (
	_                          ErrorCode = iota
	ErrorTransferInvalidParams           = 1100 + iota
	ErrorTransferOpenError
	ErrorTransferSendError
	ErrorTransferReceiveError
	ErrorTransferReconnect
	//等待回应消息超时
	ErrorTransferWaitResTimeout
)
